package com.zhuangjie.mvc.config;

import com.zhuangjie.mvc.future.ContextAwareExecutor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class CompletableFutureExecutor  {
    @Bean
    public ContextAwareExecutor executorService() {
        return new ContextAwareExecutor();
    }
}
